from django.urls import path
from . import views

urlpatterns = [
    path('api/hotwords/', views.get_hotwords, name='get_hotwords'),
    path('api/hotwords/add/', views.add_hotword, name='add_hotword'),
    path('api/hotwords/<int:hotword_id>/update/', views.update_hotword, name='update_hotword'),
    path('api/hotwords/<int:hotword_id>/delete/', views.delete_hotword, name='delete_hotword'),
    path('api/hotwords/categories/', views.get_hotword_categories, name='get_hotword_categories'),
    path('api/hotwords/crawler/start/', views.start_hotword_crawler, name='start_hotword_crawler'),
]